Owen Taylor [Tue, 14 May 2002 20:55:22 +0000 (20:55 +0000)]
Set the width of the layout to the actual wrap width (our requisition) not
Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_ensure_layout): Set
the width of the layout to the actual wrap width
(our requisition) not the width we set when calculating
the width. This results in the lines being justified
within the correct area. (#79157, Anders Carlsson)
* gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
registered parameter types of "accel_activate" and
"accel_changed" signals. (Patch from Murray Cumming, #78798)
* gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
binary-version and type to correspond to the
current ordering in _gtk_get_module_path.
(#78746, Sergey Kuzminov)
* gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
pointing to the GTK_PATH documentation.
* gtk/Makefile.am (uninstall-local): Delete
key themes as well. (#81286, Kristian Rietveld.)
Owen Taylor [Tue, 14 May 2002 19:45:08 +0000 (19:45 +0000)]
Add a sanity g_return_if_fail() check for the depths for the window and
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap): Add a sanity g_return_if_fail() check for the depths
for the window and pixmap. (#79191, Shivaram Upadhyayula)
Owen Taylor [Tue, 14 May 2002 19:15:46 +0000 (19:15 +0000)]
Try adding a #ifndef/#define for XkbKeySymEntry to make up for OSF broken
Tue May 14 15:09:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define
for XkbKeySymEntry to make up for OSF broken
XKB extension. (#77819, Gareth Pearce)
* gtk/gtklayout.c: Clamp the upper values in response
to ::size-allocate if necessary. (#81290, Christophe Saout)
* gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle
combo being destroyed before idle fires.
(#81396, Timo Sirainen)
Christian Rose [Tue, 14 May 2002 18:16:05 +0000 (18:16 +0000)]
Updated Swedish translation.
2002-05-14 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Owen Taylor [Tue, 14 May 2002 16:48:31 +0000 (16:48 +0000)]
Discard configure events from SubstructureNotify. (#81760, Rich Burridge)
Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate):
Discard configure events from SubstructureNotify.
(#81760, Rich Burridge)
* gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
strcmp().
* gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
width of child allocation to >= 1. (Fixes warnings from
#77639, Martin Schulze)
Matthias Clasen [Mon, 13 May 2002 22:35:42 +0000 (22:35 +0000)]
Change parameter names to match the header file and the documentation.
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
(gtk_container_class_find_child_property):
(gtk_container_class_list_child_properties):
* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
(gtk_widget_class_list_style_properties): Change parameter names
to match the header file and the documentation.
Christophe Merlet [Mon, 13 May 2002 20:36:11 +0000 (20:36 +0000)]
Updated French translation.
Vitaly Tishkov [Mon, 13 May 2002 14:16:03 +0000 (14:16 +0000)]
gtk/gtkfilesel.c gtk/gtkplug.c gtk/gtkwidget.c gtk/gtkwindow.c a few typos
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
* gtk/gtkplug.c
* gtk/gtkwidget.c
* gtk/gtkwindow.c
a few typos in docs were fixed
Daniel Elstner [Fri, 10 May 2002 21:59:20 +0000 (21:59 +0000)]
[ merge from stable ]
2002-05-10 Daniel Elstner <daniel.elstner@gmx.net>
[ merge from stable ]
* gtk/gtktreemodel.c: #define INITIALIZE_TREE_ITER(), which zeroes out all GtkTreeIter fields. (#81380)
(gtk_tree_model_get_iter): Use it.
(gtk_tree_model_iter_children): ditto
(gtk_tree_model_iter_nth_child): ditto
(gtk_tree_model_iter_parent): ditto
Michael Natterer [Wed, 8 May 2002 15:26:28 +0000 (15:26 +0000)]
fixed yesterdays fix for cross compiling: simply check the variable
2002-05-08 Michael Natterer <mitch@gimp.org>
* configure.in: fixed yesterdays fix for cross compiling: simply
check the variable "cross_compiling" which gets set by autoconf.
Soeren Sandmann [Wed, 8 May 2002 14:19:54 +0000 (14:19 +0000)]
set_redraw_on_allocate (FALSE); (gtk_tree_view_size_allocate): invalidate
Wed May 8 16:14:49 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeview.c
(gtk_tree_view_init): set_redraw_on_allocate (FALSE);
(gtk_tree_view_size_allocate): invalidate last column if width
changed.
(gtk_tree_view_bin_expose): skip over cells that aren't in
event->region
Owen Taylor [Tue, 7 May 2002 22:44:56 +0000 (22:44 +0000)]
Check for selection_atom, not property name atom.
Tue May 7 18:36:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/xsettings-client.c (xsettings_client_process_event):
Check for selection_atom, not property name atom.
Michael Natterer [Tue, 7 May 2002 15:53:08 +0000 (15:53 +0000)]
added a new conditional CROSS_COMPILING which indicates ($build != $host).
2002-05-07 Michael Natterer <mitch@gimp.org>
* configure.in: added a new conditional CROSS_COMPILING which
indicates ($build != $host). If it is set, look for
gdk-pixbuf-csource in PATH. Error out if it was not found.
* gtk/stock-icons/Makefile.am: use the gdk-pixbuf-csource found at
configure time if CROSS_COMPILING is set, use the one which was
just built otherwise.
Anders Carlsson [Tue, 7 May 2002 14:46:13 +0000 (14:46 +0000)]
Only process manager events with the correct atom.
2002-05-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-client.c (xsettings_client_process_event):
Only process manager events with the correct atom.
Michael Natterer [Tue, 7 May 2002 12:59:18 +0000 (12:59 +0000)]
build the static pixbuf loaders conditionally like the dynamic ones so
2002-05-07 Michael Natterer <mitch@gimp.org>
* gdk-pixbuf/Makefile.am: build the static pixbuf loaders
conditionally like the dynamic ones so --without-lib<foo> is
honored when building with --disable-modules. (#66867)
Matthias Clasen [Mon, 6 May 2002 22:05:17 +0000 (22:05 +0000)]
Always select for property notify for maintaining window state.
* gdk/x11/gdkwindow-x11.c (gdk_window_new):
(gdk_window_set_events): Always select for property notify for
maintaining window state.
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Only propagate
property notifys if they were selected by gdk_window_set_events.
Kristian Rietveld [Mon, 6 May 2002 21:42:35 +0000 (21:42 +0000)]
call func on current node before the child nodes.
Mon May 6 23:48:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_map_expanded_rows_helper): call
func on current node before the child nodes.
Kristian Rietveld [Mon, 6 May 2002 21:18:23 +0000 (21:18 +0000)]
unset user_data before destroying the window. (fixes #80065).
Mon May 6 23:17:42 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow):
unset user_data before destroying the window. (fixes #80065).
Owen Taylor [Mon, 6 May 2002 18:01:39 +0000 (18:01 +0000)]
Fix versioning to avoid changing the soname!
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix versioning to avoid changing the
soname!
[ merge from stable ]
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
compiling "what went wrong" test case. (#79329)
* m4macros/gtk-2.0.m4: Remove reference to editing
pkg-config script. (From Jim Gettys)
Christian Rose [Mon, 6 May 2002 01:13:38 +0000 (01:13 +0000)]
Updated Swedish translation.
2002-05-06 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Chyla Zbigniew [Sun, 5 May 2002 23:10:10 +0000 (23:10 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Duarte Loreto [Sun, 5 May 2002 23:09:26 +0000 (23:09 +0000)]
Updated Portuguese translation.
2002-05-05 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Matthias Clasen [Sun, 5 May 2002 20:10:38 +0000 (20:10 +0000)]
Bump version to 2.1.0, binary, interface age 0.
* configure.in: Bump version to 2.1.0, binary, interface age 0.
* gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
(gtk_container_class_find_child_property): Document.
* gtk/gtkwidget.c:
* gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
and gtk_widget_class_find_child_property. (#80652)
Owen Taylor [Sun, 5 May 2002 19:57:10 +0000 (19:57 +0000)]
Fix problem with == in test argument. (#80732, Hidetoshi Tajima)
Sun May 5 15:56:50 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix problem with == in test argument.
(#80732, Hidetoshi Tajima)
Kristian Rietveld [Sun, 5 May 2002 14:54:00 +0000 (14:54 +0000)]
The "big treeview focus patch". Fixes several issues and adds some
Sun May 5 16:42:32 2002 Kristian Rietveld <kris@gtk.org>
The "big treeview focus patch". Fixes several issues and adds some
goodies. Related bugs: #73676, #73734, #78660.
* gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell
* gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell
if applicable,
(gtk_tree_view_bin_expose): set_cell_data before iterating columns,
add support for row-spanning focus rectangles,
(gtk_tree_view_has_special_cell): new function,
(gtk_tree_view_move_cursor_left_right): add support for multiple
focusable cells in one column,
(gtk_tree_view_set_cursor): call _set_cursor_on_cell now,
(gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended
with focus_cell parameter,
(gtk_tree_view_search_iter): removed unused column variable,
(gtk_tree_view_start_editing): add neighbor size code to allow
for multiple editable cells in one column.
* gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add
in_editing_mode field,
(gtk_tree_view_column_get_edited_cell): new function, removed
_get_editable_cell,
(_gtk_tree_view_column_get_cell_at_pos): new function,
(gtk_tree_view_column_pack_end): s/g_new/g_new0/ ...,
(gtk_tree_view_column_cell_process_action): loads of changes to get
it right and to allow for multiple special cells, etc,
(gtk_tree_view_column_cell_first): new function,
(gtk_tree_view_column_cell_last): ditto,
(gtk_tree_view_column_cell_next): ditto,
(gtk_tree_view_column_cell_prev): ditto,
(gtk_tree_view_column_cell_focus): add left and right parameters,
allow for multiple special cells,
(gtk_tree_view_column_cell_is_visible): add assertion,
(gtk_tree_view_column_focus_cell): new function,
(gtk_tree_view_column_stop_editing): unset in_editing_mode flag,
(_gtk_tree_view_column_get_neighbor_sizes): iterate through cells
correctly
* gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell
* gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add
_gtk_tree_view_column_get_cell_at_pos, add new parameters to
_gtk_tree_view_column_cell_focus.
* tests/testtreeedit.c: add some cells in order to test new code.
Soeren Sandmann [Sun, 5 May 2002 00:59:42 +0000 (00:59 +0000)]
image files for testing pixbuf loaders the old test-loaders.c split into
Sun May 5 02:22:59 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/test-images/*: image files for testing pixbuf loaders
* tests/pixbuf-*.c: the old test-loaders.c split into four
different programs
* tests/Makefile.am: add new pixbuf tests
Sun May 5 02:27:01 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* Makefile.am (noinst_PROGRAMS): remove test-loaders (moved to
gtk+/tests/)
* test-loaders.c, test-images.h: remove
Tuomas Kuosmanen [Sat, 4 May 2002 18:36:39 +0000 (18:36 +0000)]
oops, need to update these on HEAD branch too.. -tigert-
Pablo Saratxaga [Fri, 3 May 2002 23:28:22 +0000 (23:28 +0000)]
updated Catalan file
Erwann Chenede - [Fri, 3 May 2002 19:03:03 +0000 (19:03 +0000)]
Rationalized the screen initialization process, changed the GdkDisplayX11
2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkvisual-x11.c:
* gdk/x11/gdkwindow-x11.c:
* gdk/x11/gdkdisplay-x11.[hc] (gdk_open_display) :
Rationalized the screen initialization process,
changed the GdkDisplayX11 screen list to an array.
* gdk/x11/gdkscreen-x11.[hc] (_gdk_x11_screen_new) :
Moved the xinerama init functions to gdkdisplay-x11.c to
this file, create a single function to fully initialize
a GdkScreen. #79981
Erwann Chenede - [Fri, 3 May 2002 17:19:11 +0000 (17:19 +0000)]
changed the order of the arguments. #80278
2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
* gtk/gtkplug.[hc] (gtk_plug_construct_for_display):
changed the order of the arguments. #80278
Matthias Clasen [Thu, 2 May 2002 22:28:50 +0000 (22:28 +0000)]
Doc updates.
Matthias Clasen [Thu, 2 May 2002 19:16:06 +0000 (19:16 +0000)]
Typo fix.
* gtk/gtknotebook.c (gtk_notebook_set_show_border): Typo fix.
Matthias Clasen [Thu, 2 May 2002 18:55:52 +0000 (18:55 +0000)]
Correct the composite_child blurb.
* gtk/gtkwidget.c (gtk_widget_class_init): Correct the
composite_child blurb.
* gtk/gtknotebook.c (gtk_notebook_set_show_border): Clarify docs. (#73093)
Erwann Chenede [Thu, 2 May 2002 17:01:10 +0000 (17:01 +0000)]
Forgot the changelog.
Erwann Chenede - [Thu, 2 May 2002 16:18:24 +0000 (16:18 +0000)]
make gdk_screen_get_monitor_at_point cross platform instead of backend
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.c (gdk_screen_get_monitor_at_point):
* gdk/gdkscreen.h :
* gdk/x11/gdkscreen-x11.c :
make gdk_screen_get_monitor_at_point cross platform instead
of backend dependant. #80480
* tests/testxinerama.c (main):
changed the warning message.
Erwann Chenede - [Thu, 2 May 2002 10:38:27 +0000 (10:38 +0000)]
removed unneeded ref. #79977
2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
removed unneeded ref. #79977
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
* gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
removed gdk_screen_use_virtual_screen function and
use_virtual_screen member variable from GdkScreenX11. #79957
Matthias Clasen [Thu, 2 May 2002 00:03:49 +0000 (00:03 +0000)]
Add nicks and blurbs for child properties. (#57143)
* gtk/gtktable.c (gtk_table_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
child properties. (#57143)
Matthias Clasen [Wed, 1 May 2002 23:02:25 +0000 (23:02 +0000)]
set these.
* gdk/Makefile.am (GTKDOC_CFLAGS, GTKDOC_LIBS): set these.
* gdk/gdk.types: Add types derived from GObject, so that they get
an object hierarchy section.
Matthias Clasen [Wed, 1 May 2002 21:29:49 +0000 (21:29 +0000)]
Move GdkScreen struct to the GdkScreen section.
* gdk/gdk-sections.txt: Move GdkScreen struct to the GdkScreen section.
* gdk/tmpl/gdkscreen.sgml:
* gdk/tmpl/gdkdisplay.sgml: Typo and markup fixes.
* gdk/gdk-docs.sgml: Reorder display and screen sections.
* gdk/multihead.sgml: Remove references to GdkDisplayManager, typo
and markup fixes.
Erwann Chenede - [Wed, 1 May 2002 17:42:08 +0000 (17:42 +0000)]
removed that function as gdk_drawable_get_screen does the job. #79964
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
* x11/gdkpixmap-x11.c:
removed that function as gdk_drawable_get_screen
does the job. #79964
Christophe Merlet [Wed, 1 May 2002 17:25:01 +0000 (17:25 +0000)]
Updated French translation.
Erwann Chenede - [Wed, 1 May 2002 17:22:54 +0000 (17:22 +0000)]
remove virtualization and made it cross platform. fix #79961 fixed
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
remove virtualization and made it cross platform. fix #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* tests/testxinerama.c:
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
a GdkRectangle * and propagated the changes. fix #79974
Anders Carlsson [Wed, 1 May 2002 12:23:41 +0000 (12:23 +0000)]
Use the same key when setting and getting NetWmSupportedAtoms.
2002-05-01 Anders Carlsson <andersca@gnu.org>
* gdk/x11/gdkevents-x11.c
(gdk_x11_screen_supports_net_wm_hint): Use the same
key when setting and getting NetWmSupportedAtoms.
Owen Taylor [Tue, 30 Apr 2002 23:44:14 +0000 (23:44 +0000)]
Make it work, even if the window is already realized or mapped.
Tue Apr 30 18:42:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_screen): Make it
work, even if the window is already realized or
mapped.
* tests/testgtk.c: Erwann's multihead changes, slightly
dumbed down. (Removed logic for pulling windows onto
the current screen, people can click twice on the demo
to destroy and create again.)
* tests/prop-editor.c: Set the screen on the property
editor if the edited object is a widget.
Owen Taylor [Tue, 30 Apr 2002 23:43:58 +0000 (23:43 +0000)]
Make it work, even if the window is already realized or mapped.
Tue Apr 30 18:42:25 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_screen): Make it
work, even if the window is already realized or
mapped.
* tests/testgtk.c: Erwann's multihead changes, slightly
dumbed down. (Removed logic for pulling windows onto
the current screen, people can click twice on the demo
to destroy and create again.)
* tests/prop-editor.c: Set the screen on the property
editor if the edited object is a widget.
Matthias Clasen [Tue, 30 Apr 2002 23:40:19 +0000 (23:40 +0000)]
Improve a warning.
* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
Improve a warning.
* gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken
and redundant doc comment.
* gtk/gtkprogress.c (gtk_progress_class_init):
* gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
* gtk/gtktexttag.c (gtk_text_tag_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs,
incorporating stuff from the doc templates.
* gtk/gtkplug.c (gtk_plug_construct): Fix docs.
Havoc Pennington [Tue, 30 Apr 2002 20:51:35 +0000 (20:51 +0000)]
use gtk_text_layout_invalidate_cache instead of cut-and-paste
2002-04-30 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_real_free_line_data): use
gtk_text_layout_invalidate_cache instead of cut-and-paste
(gtk_text_layout_real_invalidate): always invalidate cache, even
if the line has no stored line data. #78573
* gtk/gtktextview.c (gtk_text_view_get_iter_location): add call to
gtk_text_view_ensure_layout, #77388
(gtk_text_view_get_iter_at_location): ditto
(gtk_text_view_get_line_yrange): ditto
(gtk_text_view_get_line_at_y): ditto
Owen Taylor [Tue, 30 Apr 2002 20:18:07 +0000 (20:18 +0000)]
cvsignore additions
Owen Taylor [Tue, 30 Apr 2002 20:17:36 +0000 (20:17 +0000)]
Multi-screen test case form multihead branch with a few cleanups. (Get rid
Tue Apr 30 15:59:53 2002 Owen Taylor <otaylor@redhat.com>
* tests/testmultiscreen.c: Multi-screen test case
form multihead branch with a few cleanups. (Get rid
of use of g_object_connect())
* tests/testmultidisplay.c: Multi-display test case
from multihead branch with a few improvements.
(Allow the other display name to be passed on
the command line, use a GtkDialog to get more attractive
spacing.)
Owen Taylor [Tue, 30 Apr 2002 18:32:08 +0000 (18:32 +0000)]
fix problem with finalizing non-initialized fully display when failing to
Tue Apr 30 14:23:43 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdisplay-x11.c (gdk_open_display): fix
problem with finalizing non-initialized fully display
when failing to open display.
* tests/testxinerama.c: Xinerama test case from
multihead branch, with some cleanups. (Start even
if there is only one monitor, for one.)
Owen Taylor [Tue, 30 Apr 2002 18:16:14 +0000 (18:16 +0000)]
Update for multihead.
Tue Apr 30 14:16:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtk-sections.txt: Update for multihead.
Owen Taylor [Tue, 30 Apr 2002 18:15:35 +0000 (18:15 +0000)]
Doc fixes.
Tue Apr 30 14:15:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes.
Owen Taylor [Tue, 30 Apr 2002 18:07:51 +0000 (18:07 +0000)]
Update for multihead.
Tue Apr 30 12:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk-sections.txt: Update for multihead.
* multihead.sgml gtk-docs.sgml: Add overview of
multihead from multihead branch.
* tmpl/gdkdisplay.sgml tmpl/gdkscreen.sgml: New
sections from multihead branch.
Anders Carlsson [Tue, 30 Apr 2002 17:08:52 +0000 (17:08 +0000)]
Add this
Erwann Chenede - [Tue, 30 Apr 2002 17:01:31 +0000 (17:01 +0000)]
retionalized multihead code in _gdk_x11_copy_to_image. fixes #80256 and
2002-04-30 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/x11/gdkimage-x11.c : retionalized multihead code
in _gdk_x11_copy_to_image. fixes #80256 and ungrab problems.
Alex Larsson [Tue, 30 Apr 2002 16:29:49 +0000 (16:29 +0000)]
Doc fixes.
Tue Apr 30 12:28:27 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.c gdk/gdkpango.c gdk/gdkpixmap.c
gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c
gdk/x11/gdkpixmap-x11.c gdk/x11/gdkx.h: Doc fixes.
Tue Apr 30 11:37:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c: Make multihead-safe;
use a different IM context per display.
* configure.in acconfig.h: Add Xinerama checks from
multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA.
* gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA.
2002-04-29 Alex Larsson <alexl@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
Use tmp also if foreground is set.
Havoc Pennington [Tue, 30 Apr 2002 15:58:51 +0000 (15:58 +0000)]
half-finished docs on merging GTK with existing hunks of code (event loop
2002-04-30 Havoc Pennington <hp@redhat.com>
* gtk/other_software.sgml: half-finished docs on merging GTK with
existing hunks of code (event loop integration, using threads
vs. processes, blah blah)
Havoc Pennington [Tue, 30 Apr 2002 15:52:52 +0000 (15:52 +0000)]
assign something to "prev" so that removing tag info succeeds. Part of
2002-04-30 Havoc Pennington <hp@redhat.com>
* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): assign
something to "prev" so that removing tag info succeeds.
Part of #77301
* gtk/gtktextbtree.c (_gtk_text_btree_unref): reorder so that it
unrefs the tag table first, so that the btree is in a consistent
state when we're removing tags from it.
* gtk/gtktexttagtable.c (_gtk_text_tag_table_remove_buffer): strip
all tags in the tag table out of the buffer. #77301
Alex Larsson [Tue, 30 Apr 2002 15:51:29 +0000 (15:51 +0000)]
Make multihead-safe; use a different IM context per display.
Tue Apr 30 11:37:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c: Make multihead-safe;
use a different IM context per display.
* configure.in acconfig.h: Add Xinerama checks from
multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA.
* gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA.
2002-04-29 Alex Larsson <alexl@redhat.com>
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
Use tmp also if foreground is set.
Owen Taylor [Tue, 30 Apr 2002 15:06:33 +0000 (15:06 +0000)]
Missing ChangeLog entry and indentation fix
Stanislav Visnovsky [Tue, 30 Apr 2002 14:43:18 +0000 (14:43 +0000)]
Updated Slovak translation.
2002-04-30 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Alex Larsson [Mon, 29 Apr 2002 22:53:45 +0000 (22:53 +0000)]
Integrate Erwann Chenede's multihead changes for the gtk/ directory.
Mon Apr 29 18:28:00 2002 Owen Taylor <otaylor@redhat.com>
Integrate Erwann Chenede's multihead changes for the gtk/ directory.
* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
make internals multihead aware.
* gtk/gtkcolorsel.[ch]: Add
gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
make up for non-multihead safety of
gtk_color_selection_set_change_palette_hook()
* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
gtk_{invisible,menu,window}_set_screen(); add "screen" properties
for GtkWindow and GtkMenu.
* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
gtk_plug_new_for_display(). Multihead fixes.
* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
make internals multihead aware.
* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
rid of now-useless gtk_settings_constructor().
* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
check/radio button indicators bitmap handling to be multihead
safe.
* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
gtk_widget_get_display(), gtk_widget_get_clipboard(),
gtk_widget_get_root_window().
* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
misc mechanical multihead-safety fixes.
* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
the dropper, look up the color palette only at realization time,
other multihead fixes.
* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
unrealizing.
* gtk/gtkentry.c: Only claim ownership of the primary selection
when realized, misc multihead fixes.
* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
fix gtk_font_selection_get_font() for multihead.
* gtk/gtkgc.c: make the depth => drawable hash per-screen.
* gtk/gtkinvisible.c: Add a constructor that realizes the
widget, so we get a realized widget with g_object_new() as
well gtk_invisible_new() as before.
* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
variables.
* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
are used on the wrong screen.
* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
read properties and connect to settings when the screen is changed,
rather than on init/finalize.
* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
default icon pixmaps/mask are only shared between windows on the
same screen. Misc multihead fixes.
Sat Apr 27 13:49:53 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
2002-04-29 Alex Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
Fix silly bug, noticed by Sven Neumann.
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
so that you can set a new sort func.
Alex Larsson [Mon, 29 Apr 2002 14:41:04 +0000 (14:41 +0000)]
Fix silly bug, noticed by Sven Neumann.
2002-04-29 Alex Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
Fix silly bug, noticed by Sven Neumann.
Jonathan Blandford [Mon, 29 Apr 2002 02:57:06 +0000 (02:57 +0000)]
Fix so that you can set a new sort func.
Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
so that you can set a new sort func.
Fatih Demir [Sat, 27 Apr 2002 23:15:24 +0000 (23:15 +0000)]
Updated tr.po
Simos Xenitellis [Sat, 27 Apr 2002 13:21:20 +0000 (13:21 +0000)]
Updated Greek translation
Anders Carlsson [Fri, 26 Apr 2002 22:41:17 +0000 (22:41 +0000)]
Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since we pass in a
2002-04-27 Anders Carlsson <andersca@gnu.org>
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display):
Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since
we pass in a GdkDisplay * in the macro.
2002-04-26 Anders Carlsson <andersca@gnu.org>
* gdk/gdkdisplay.c: (gdk_set_default_display):
Call _gdk_windowing_set_default_display.
* gdk/gdkinternals.h:
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display):
New function that sets gdk_display to the default display.
Fixes #79965
Kristian Rietveld [Fri, 26 Apr 2002 19:55:14 +0000 (19:55 +0000)]
if the deleted node was "below" this path, then do not unref all nodes
Fri Apr 26 21:58:16 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): if the
deleted node was "below" this path, then do not unref all nodes
between the deleted parent and the node this rowref is pointing too
(see added comment in gtk_tree_row_ref_deleted_callback),
(fixes #77977)
Sven Neumann [Fri, 26 Apr 2002 19:50:17 +0000 (19:50 +0000)]
tests/testtreecolumns.c quit the main loop when the window is destroyed.
2002-04-26 Sven Neumann <sven@gimp.org>
* tests/testtreecolumns.c
* tests/testtreeview.c: quit the main loop when the window is
destroyed. Removed compiler warnings about wrong format in printf().
Kristian Rietveld [Fri, 26 Apr 2002 19:45:22 +0000 (19:45 +0000)]
This commit fixes binary compatibility, which I broke with my recent cell
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
recent cell renderer commits :/.
* gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer
* gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the
cell_background field and use this as object data. This way we keep
the field private and dont break ABI.
* gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and
stock_detail from _GtkCellRendererPixbuf
* gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo
with above mentioned fields. And update everything.
Kristian Rietveld [Fri, 26 Apr 2002 19:36:33 +0000 (19:36 +0000)]
include X11/Xlib.h, fixes the build
Fri Apr 26 21:42:02 2002 Kristian Rietveld <kris@gtk.org>
* gdk/x11/gdkdrawable-x11.h: include X11/Xlib.h, fixes the build
Owen Taylor [Fri, 26 Apr 2002 14:34:42 +0000 (14:34 +0000)]
Add missing gdkscreen/display-x11.h files.
Fri Apr 26 10:34:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): Add
missing gdkscreen/display-x11.h files.
Owen Taylor [Fri, 26 Apr 2002 02:39:49 +0000 (02:39 +0000)]
Fix some docs duplicated between templates and inline.
Thu Apr 25 22:37:58 2002 Owen Taylor <otaylor@redhat.com>
* gdk/tmpl/{events,input_devices,region,x_interaction}.sgml:
Fix some docs duplicated between templates and inline.
Owen Taylor [Thu, 25 Apr 2002 22:29:14 +0000 (22:29 +0000)]
Start of integration of Erwann Chenede's multihead work from the
Thu Apr 25 16:51:40 2002 Owen Taylor <otaylor@redhat.com>
Start of integration of Erwann Chenede's multihead work
from the gtk-multihead branch.
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
New classes representing a set of screens with attached
input devices and a single contiguous area, respectively.
* gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
gdk/x11/gdkprivate-x11.h: Make the initialization interface
simple _gdk_windowing_init() and do the rest in
gdk_open_display() calls.
* gdk/gdk.[ch]: Add gdk_parse_args() which can be used
to do the display-independent part of initialization
instead of gdk_init_[check].
* gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
Add multihead variants (_for_display(), for_screen()) of functions
getting information specific to a particular screen screen or
display.
* gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
like gdk_rgb_get_colormap() that used to get/list global
objects.
* gdk/x11/gdkx.h: Add functions for converting GdkScreen
and GdkDisplay into the X equivalents.
* gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
not in the headers and unused.
* configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
Remove gxid support ... has not been tested for a long time...
"xfree" support is more portable to non XFree86.
* gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
used to turn off functions that are inherently non-multihead
safe.
* gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
are used in non-multihead-safe ways.
* gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
multihead safe.
Andraz Tori [Thu, 25 Apr 2002 22:25:19 +0000 (22:25 +0000)]
Updated Slovenian translation
Kristian Rietveld [Thu, 25 Apr 2002 22:00:20 +0000 (22:00 +0000)]
fix typo in ChangeLog
Kristian Rietveld [Thu, 25 Apr 2002 21:44:33 +0000 (21:44 +0000)]
Fixes #74206.
Thu Apr 25 23:49:01 2002 Kristian Rietveld <kris@gtk.org>
Fixes #74206.
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells
* gtk/gtktreeview.c (_gtk_tree_view_column_has_editable_cell),
(_gtk_tree_view_column_get_editable_cell): remove a space which made
the code look ugly
(_gtk_tree_view_column_count_special_cells): new function,
(gtk_tree_view_column_cell_process_action): if there's only one
activatable cell, the whole column will activate that renderer.
Kristian Rietveld [Thu, 25 Apr 2002 21:35:30 +0000 (21:35 +0000)]
make the search dialog not scroll horizontally (prolly fixes #74806).
Thu Apr 25 23:36:55 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search
dialog not scroll horizontally (prolly fixes #74806).
Matthias Clasen [Thu, 25 Apr 2002 20:49:59 +0000 (20:49 +0000)]
Avoid a possible division by zero. (#77820)
* gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible
division by zero. (#77820)
Soeren Sandmann [Thu, 25 Apr 2002 18:39:43 +0000 (18:39 +0000)]
use the child's requisition.height, not allocation.height, as width of
Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
requisition.height, not allocation.height, as width of submenu
indicator. (#75948)
Andraz Tori [Thu, 25 Apr 2002 18:38:25 +0000 (18:38 +0000)]
Updated Slovenian translation
Andraz Tori [Thu, 25 Apr 2002 17:53:55 +0000 (17:53 +0000)]
Updated Slovenian translation
Kristian Rietveld [Wed, 24 Apr 2002 22:21:25 +0000 (22:21 +0000)]
resort if we're already in 'unsorted' state, and update the docs
Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
resort if we're already in 'unsorted' state, and update the docs
Matthias Clasen [Wed, 24 Apr 2002 22:10:35 +0000 (22:10 +0000)]
Remove GTK_OBJECT_CONNECTED.
* gtk/gtk-sections.txt: Remove GTK_OBJECT_CONNECTED.
* gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc
comment markers on freeform comments.
Matthias Clasen [Wed, 24 Apr 2002 18:21:26 +0000 (18:21 +0000)]
Fix file corruption that got accidentally delivered.
Kristian Rietveld [Wed, 24 Apr 2002 15:28:51 +0000 (15:28 +0000)]
temporarily set ->priv->edited_column to NULL. Pleas read the comment in
Wed Apr 24 17:34:16 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_stop_editing): temporarily set
->priv->edited_column to NULL. Pleas read the comment in this
function for an explanation (fixes #79632).
Matthias Clasen [Wed, 24 Apr 2002 00:09:29 +0000 (00:09 +0000)]
Remove the ISO8859-1 restriction from the description of png tEXt
* gdk-pixbuf-io.c (gdk_pixbuf_save): Remove the ISO8859-1
restriction from the description of png tEXt parameters.
* io-png.c (png_text_to_pixbuf_option):
(gdk_pixbuf__png_image_save): If libpng supports it,
store and retrieve non-ISO8859-1 text as UTF-8. (#76172)
Matthias Clasen [Tue, 23 Apr 2002 23:17:59 +0000 (23:17 +0000)]
Formatting fix.
* gtk/tmpl/gtksocket.sgml: Formatting fix.
Matthias Clasen [Tue, 23 Apr 2002 22:22:44 +0000 (22:22 +0000)]
Improve docs. (#62359)
* gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords):
(gtk_text_view_window_to_buffer_coords): Improve docs. (#62359)
* gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates. (#79001)
* gtk/tmpl/gtksocket.sgml: Add link to XEmbed draft. (#67818)
* gtk/tmpl/gtkdrawingarea.sgml: Fix a typo.
* gtk/text_widget.sgml: Complete the fix for #79080.
Kjartan Maraas [Tue, 23 Apr 2002 17:48:19 +0000 (17:48 +0000)]
Updated Norwegian (bokmål) translation.
2002-04-23 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Kristian Rietveld [Tue, 23 Apr 2002 16:39:01 +0000 (16:39 +0000)]
This commit adds a cell_background property for cell renderers. With this
Tue Apr 23 18:35:34 2002 Kristian Rietveld <kris@gtk.org>
This commit adds a cell_background property for cell renderers. With
this property you can make your TreeView look incredibly ugly.
* gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and
cell_background_set properties,
(set_cell_bg_color): new function,
(gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property):
support for new properties,
(gtk_cell_renderer_render): render a background when set.
* gtk/gtkcellrenderer.h: add cell_background_set and cell_background
fields.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
when rendering, pass in just the background_area of the cell and not
the background_area of the entire column.
Andraz Tori [Tue, 23 Apr 2002 12:57:31 +0000 (12:57 +0000)]
Updated Slovenian translation
Anders Carlsson [Mon, 22 Apr 2002 20:56:34 +0000 (20:56 +0000)]
Update ChangeLog
Anders Carlsson [Mon, 22 Apr 2002 20:52:14 +0000 (20:52 +0000)]
Use gtk_entry_get_public_chars. Fixes #79532.
2002-04-22 Anders Carlsson <andersca@gnu.org>
* gtk/gtkentry.c (gtk_entry_drag_data_get): Use
gtk_entry_get_public_chars. Fixes #79532.
Kristian Rietveld [Mon, 22 Apr 2002 17:22:03 +0000 (17:22 +0000)]
This commit adds stock icon functionality to GtkCellRendererPixbuf which
Mon Apr 22 19:24:29 2002 Kristian Rietveld <kris@gtk.org>
This commit adds stock icon functionality to GtkCellRendererPixbuf
which is totally cool.
* gtk/gtkcellrendererpixbuf.h: add some fields
* gtk/gtkcellrendererpixbuf.c: add finalize method, add some
properties, add some stock icon rendering code.
* demos/gtk-demo/stock_browser.c: modified to use the stock
icon stuff in the cellrendererpixbuf instead of its own stock icon
rendering code.
Kjartan Maraas [Mon, 22 Apr 2002 08:42:40 +0000 (08:42 +0000)]
Updated Norwegian (bokmål) translation.
2002-04-22 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Christophe Merlet [Mon, 22 Apr 2002 05:28:10 +0000 (05:28 +0000)]
Updated French translation.
Matthias Clasen [Sun, 21 Apr 2002 23:07:49 +0000 (23:07 +0000)]
Fix typo in "Simple Example". (#78661)
* gtk/tree_widget.sgml: Fix typo in "Simple Example". (#78661)
Kwok-Koon Cheung [Sun, 21 Apr 2002 21:50:48 +0000 (21:50 +0000)]
Updated traditional Chinese translation.
Alexander Larsson [Sun, 21 Apr 2002 19:17:58 +0000 (19:17 +0000)]
Save x and y in window_private.
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
Save x and y in window_private.
* gtk/gtkplug.c (_gtk_plug_add_to_socket):
Move plug window outside the visible area to avoid flashing until
the first size_allocate.